.class public Les/st;
.super Ljava/lang/Object;
.source "SceneBase.java"

# interfaces
.implements Les/qt;


# static fields
.field protected static final j:Ljava/lang/Object;


# instance fields
.field protected a:I

.field protected b:I

.field protected volatile c:Z

.field protected final d:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Les/bq;",
            ">;"
        }
    .end annotation
.end field

.field protected e:Les/bq;

.field protected volatile f:I

.field protected volatile g:Z

.field protected volatile h:Z

.field protected i:Les/rt;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    new-instance v0, Ljava/lang/Object;

    invoke-direct {v0}, Ljava/lang/Object;-><init>()V

    sput-object v0, Les/st;->j:Ljava/lang/Object;

    return-void
.end method

.method public constructor <init>(I)V
    .locals 1

    const/4 v0, 0x5

    .line 1
    invoke-direct {p0, p1, v0}, Les/st;-><init>(II)V

    return-void
.end method

.method public constructor <init>(II)V
    .locals 1

    .line 2
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Les/st;->d:Ljava/util/List;

    const/4 v0, 0x0

    .line 4
    iput v0, p0, Les/st;->f:I

    .line 5
    iput-boolean v0, p0, Les/st;->g:Z

    .line 6
    iput-boolean v0, p0, Les/st;->h:Z

    .line 7
    iput p1, p0, Les/st;->a:I

    .line 8
    iput p2, p0, Les/st;->b:I

    return-void
.end method

.method private a(Les/bq;Z)V
    .locals 1

    .line 34
    invoke-virtual {p1}, Les/bq;->g()Les/rt;

    move-result-object v0

    if-nez v0, :cond_0

    .line 35
    new-instance v0, Les/st$d;

    invoke-direct {v0, p0, p1, p2}, Les/st$d;-><init>(Les/st;Les/bq;Z)V

    invoke-virtual {p1, v0}, Les/bq;->a(Les/rt;)V

    .line 36
    :cond_0
    invoke-virtual {p1, p2}, Les/bq;->b(Z)V

    return-void
.end method

.method static synthetic a(Les/st;)V
    .locals 0

    .line 2
    invoke-direct {p0}, Les/st;->h()V

    return-void
.end method

.method static synthetic a(Les/st;Z)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Les/st;->c(Z)V

    return-void
.end method

.method private a(Z)V
    .locals 3

    .line 25
    iget v0, p0, Les/st;->f:I

    iget-object v1, p0, Les/st;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-lt v0, v1, :cond_0

    .line 26
    invoke-direct {p0}, Les/st;->h()V

    return-void

    .line 27
    :cond_0
    iget-object v0, p0, Les/st;->d:Ljava/util/List;

    iget v1, p0, Les/st;->f:I

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/bq;

    if-nez v0, :cond_1

    .line 28
    invoke-direct {p0, p1}, Les/st;->b(Z)V

    return-void

    .line 29
    :cond_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "========start \u5faa\u73af\u7b2c"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget v2, p0, Les/st;->f:I

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, "\u6b21\uff0cdotype\u4e3a "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Les/bq;->j()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 30
    iget-object v1, p0, Les/st;->e:Les/bq;

    invoke-virtual {v0, v1}, Les/bq;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 31
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "========\u8fc7\u6ee4\u6389\u4e86\uff0cdotype\u4e3a "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Les/bq;->j()I

    move-result v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 32
    invoke-direct {p0, p1}, Les/st;->b(Z)V

    return-void

    .line 33
    :cond_2
    invoke-direct {p0, v0, p1}, Les/st;->a(Les/bq;Z)V

    return-void
.end method

.method static synthetic b(Les/st;Z)V
    .locals 0

    .line 1
    invoke-direct {p0, p1}, Les/st;->b(Z)V

    return-void
.end method

.method private b(Z)V
    .locals 3

    .line 8
    iget v0, p0, Les/st;->f:I

    const/4 v1, 0x1

    add-int/2addr v0, v1

    iput v0, p0, Les/st;->f:I

    .line 9
    iget v0, p0, Les/st;->f:I

    iget-object v2, p0, Les/st;->d:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    if-lt v0, v2, :cond_1

    .line 10
    iget-object v0, p0, Les/st;->e:Les/bq;

    if-eqz v0, :cond_0

    iget-boolean v0, p0, Les/st;->h:Z

    if-nez v0, :cond_0

    const-string v0, "========\u5faa\u73af\u5b8c\u6bd5\uff0c\u6ca1\u6709\u53ef\u7528\u7684do\uff0c\u8bd5\u4e00\u8bd5\u4e0a\u4e00\u6b21\u663e\u793a\u7684do"

    .line 11
    invoke-static {v0}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 12
    iput-boolean v1, p0, Les/st;->h:Z

    .line 13
    iget-object v0, p0, Les/st;->e:Les/bq;

    invoke-direct {p0, v0, p1}, Les/st;->a(Les/bq;Z)V

    goto :goto_0

    .line 14
    :cond_0
    invoke-direct {p0}, Les/st;->h()V

    const/4 p1, 0x0

    .line 15
    invoke-direct {p0, p1}, Les/st;->c(Z)V

    :goto_0
    return-void

    .line 16
    :cond_1
    invoke-direct {p0, p1}, Les/st;->a(Z)V

    return-void
.end method

.method private c(Z)V
    .locals 1

    .line 12
    iget-object v0, p0, Les/st;->i:Les/rt;

    if-eqz v0, :cond_0

    .line 13
    invoke-interface {v0, p1}, Les/rt;->a(Z)V

    const/4 p1, 0x0

    .line 14
    iput-object p1, p0, Les/st;->i:Les/rt;

    :cond_0
    return-void
.end method

.method private h()V
    .locals 2

    .line 1
    sget-object v0, Les/st;->j:Ljava/lang/Object;

    monitor-enter v0

    const/4 v1, 0x0

    .line 2
    :try_start_0
    iput-boolean v1, p0, Les/st;->g:Z

    .line 3
    iput-boolean v1, p0, Les/st;->h:Z

    .line 4
    iput v1, p0, Les/st;->f:I

    const/4 v1, 0x0

    .line 5
    iput-object v1, p0, Les/st;->e:Les/bq;

    .line 6
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method


# virtual methods
.method public a(I)Les/bq;
    .locals 5

    .line 12
    sget-object v0, Les/st;->j:Ljava/lang/Object;

    monitor-enter v0

    const/4 v1, 0x0

    if-nez p1, :cond_0

    .line 13
    :try_start_0
    monitor-exit v0

    return-object v1

    .line 14
    :cond_0
    iget-object v2, p0, Les/st;->d:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/bq;

    .line 15
    invoke-virtual {v3}, Les/bq;->j()I

    move-result v4

    if-ne v4, p1, :cond_1

    .line 16
    monitor-exit v0

    return-object v3

    .line 17
    :cond_2
    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception p1

    .line 18
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_1

    :goto_0
    throw p1

    :goto_1
    goto :goto_0
.end method

.method protected a()V
    .locals 4

    .line 19
    invoke-static {}, Les/xp;->d()I

    move-result v0

    .line 20
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "============== LastType "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 21
    iget-object v1, p0, Les/st;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_1

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Les/bq;

    .line 22
    invoke-virtual {v2}, Les/bq;->j()I

    move-result v3

    if-ne v0, v3, :cond_0

    .line 23
    iput-object v2, p0, Les/st;->e:Les/bq;

    :cond_1
    return-void
.end method

.method public a(Les/bq;)V
    .locals 2

    .line 3
    sget-object v0, Les/st;->j:Ljava/lang/Object;

    monitor-enter v0

    if-eqz p1, :cond_2

    .line 4
    :try_start_0
    invoke-virtual {p1}, Les/bq;->j()I

    move-result v1

    if-gtz v1, :cond_0

    goto :goto_0

    .line 5
    :cond_0
    iget v1, p0, Les/st;->a:I

    invoke-virtual {p1, v1}, Les/bq;->b(I)V

    .line 6
    iget-object v1, p0, Les/st;->d:Ljava/util/List;

    invoke-interface {v1, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 7
    iget-object v1, p0, Les/st;->d:Ljava/util/List;

    invoke-interface {v1, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 8
    :cond_1
    monitor-exit v0

    return-void

    :cond_2
    :goto_0
    const-string p1, "scene action is null or scene action type is empty"

    .line 9
    invoke-static {p1}, Les/zp;->a(Ljava/lang/String;)V

    .line 10
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    .line 11
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public a(Les/rt;)V
    .locals 0

    .line 24
    iput-object p1, p0, Les/st;->i:Les/rt;

    return-void
.end method

.method public b()I
    .locals 1

    .line 7
    iget v0, p0, Les/st;->b:I

    return v0
.end method

.method public b(I)V
    .locals 4

    .line 2
    sget-object v0, Les/st;->j:Ljava/lang/Object;

    monitor-enter v0

    if-nez p1, :cond_0

    .line 3
    :try_start_0
    monitor-exit v0

    return-void

    .line 4
    :cond_0
    new-instance v1, Les/st$b;

    iget v2, p0, Les/st;->a:I

    const/4 v3, 0x5

    invoke-direct {v1, p0, v2, p1, v3}, Les/st$b;-><init>(Les/st;III)V

    .line 5
    iget-object p1, p0, Les/st;->d:Ljava/util/List;

    invoke-interface {p1, v1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    .line 6
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public c()I
    .locals 1

    .line 11
    iget v0, p0, Les/st;->a:I

    return v0
.end method

.method public c(I)V
    .locals 2

    .line 1
    sget-object v0, Les/st;->j:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-boolean v1, p0, Les/st;->g:Z

    if-eqz v1, :cond_0

    const-string p1, "========scene \u6b63\u5728\u6267\u884c"

    .line 3
    invoke-static {p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    const/4 p1, 0x0

    .line 4
    invoke-direct {p0, p1}, Les/st;->c(Z)V

    .line 5
    monitor-exit v0

    return-void

    :cond_0
    const/4 v1, 0x1

    .line 6
    iput-boolean v1, p0, Les/st;->g:Z

    .line 7
    invoke-virtual {p0, p1}, Les/st;->a(I)Les/bq;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 8
    new-instance v1, Les/st$a;

    invoke-direct {v1, p0}, Les/st$a;-><init>(Les/st;)V

    invoke-virtual {p1, v1}, Les/bq;->a(Les/rt;)V

    .line 9
    invoke-static {}, Lcom/estrongs/android/pop/app/unlock/i;->a()Z

    move-result v1

    invoke-virtual {p1, v1}, Les/bq;->b(Z)V

    .line 10
    :cond_1
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public d()V
    .locals 0

    return-void
.end method

.method protected e()Z
    .locals 3

    .line 1
    invoke-static {}, Les/xp;->e()I

    move-result v0

    .line 2
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "==============Scene\u5f53\u524d\u603b\u6b21\u6570\uff1a "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 3
    invoke-static {}, Les/wp;->g()Les/wp;

    move-result-object v1

    invoke-virtual {v1}, Les/wp;->c()Les/yp;

    move-result-object v1

    iget-object v1, v1, Les/yp;->a:Les/xr;

    .line 4
    iget v1, v1, Les/xr;->c:I

    const/4 v2, -0x1

    if-eq v1, v2, :cond_1

    if-ge v0, v1, :cond_0

    goto :goto_0

    :cond_0
    const-string v0, "==============Scene\u6bcf\u5929\u603b\u6b21\u6570\u4e0d\u6ee1\u8db3"

    .line 5
    invoke-static {v0}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 6
    iget v0, p0, Les/st;->a:I

    const/16 v1, 0x13

    invoke-static {v0, v1}, Lcom/estrongs/android/pop/app/unlock/f;->a(II)V

    const/4 v0, 0x0

    return v0

    :cond_1
    :goto_0
    const/4 v0, 0x1

    return v0
.end method

.method public f()V
    .locals 4

    .line 1
    sget-object v0, Les/st;->j:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-boolean v1, p0, Les/st;->g:Z

    const/4 v2, 0x0

    if-eqz v1, :cond_0

    const-string v1, "========scene \u6b63\u5728\u6267\u884c"

    .line 3
    invoke-static {v1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 4
    invoke-direct {p0, v2}, Les/st;->c(Z)V

    .line 5
    monitor-exit v0

    return-void

    .line 6
    :cond_0
    iget-object v1, p0, Les/st;->d:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->isEmpty()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 7
    invoke-direct {p0, v2}, Les/st;->c(Z)V

    .line 8
    monitor-exit v0

    return-void

    .line 9
    :cond_1
    invoke-static {}, Lcom/estrongs/android/pop/app/unlock/i;->a()Z

    move-result v1

    iput-boolean v1, p0, Les/st;->c:Z

    .line 10
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "======="

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-boolean v3, p0, Les/st;->c:Z

    if-eqz v3, :cond_2

    const-string v3, "in app"

    goto :goto_0

    :cond_2
    const-string v3, "out app"

    :goto_0
    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;)V

    .line 11
    invoke-virtual {p0}, Les/st;->e()Z

    move-result v1

    if-nez v1, :cond_3

    .line 12
    invoke-direct {p0, v2}, Les/st;->c(Z)V

    .line 13
    monitor-exit v0

    return-void

    .line 14
    :cond_3
    invoke-virtual {p0}, Les/st;->a()V

    .line 15
    invoke-virtual {p0}, Les/st;->g()V

    const/4 v1, 0x1

    .line 16
    iput-boolean v1, p0, Les/st;->g:Z

    .line 17
    iget-boolean v1, p0, Les/st;->c:Z

    invoke-direct {p0, v1}, Les/st;->a(Z)V

    .line 18
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method protected g()V
    .locals 2

    .line 1
    iget-object v0, p0, Les/st;->d:Ljava/util/List;

    new-instance v1, Les/st$c;

    invoke-direct {v1, p0}, Les/st$c;-><init>(Les/st;)V

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    return-void
.end method
